package com.isprint.jslx.lcc.wechat.model.report;

import java.util.Date;

/**
 * 报告
 *
 * @author HYL
 * @create 2017-07-10 下午5:06
 **/
public class Report {
    private String touser;
    private String template_id;
    private String url;
    private String topcolor;
    private Data data=new Data();

    public Report() {
        //初始化一个data数据
//        data=new ArrayList<>();
        ReportDetail first=new ReportDetail();
        first.setValue("报告标题");
        first.setColor("#173177");
        ReportDetail Topic=new ReportDetail();
        Topic.setValue("报告主题");
        ReportDetail Time=new ReportDetail();
        Time.setValue(new Date().toString());
        ReportDetail UserName=new ReportDetail();
        UserName.setValue("学生姓名");
        ReportDetail remark=new ReportDetail();
        remark.setValue("备注");
        data.setFirst(first);
        data.setTopic(Topic);
        data.setTime(Time);
        data.setUserName(UserName);
        data.setRemark(remark);

    }

    public String getTouser() {
        return touser;
    }

    public void setTouser(String touser) {
        this.touser = touser;
    }

    public String getTemplate_id() {
        return template_id;
    }

    public void setTemplate_id(String template_id) {
        this.template_id = template_id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getTopcolor() {
        return topcolor;
    }

    public void setTopcolor(String topcolor) {
        this.topcolor = topcolor;
    }

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }
}
